<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="/common/_container :: htmlhead"></head>
<body>
	<div class="ibox float-e-margins">
		<div class="ibox-content">
			<div class="form-horizontal">

				<input type="hidden" id="id" th:value="${alarm.id}" />
				 
				 <input type="hidden" id="typeValue" th:value="${alarm.type}" />
				  <input type="hidden" id="resultsValue" th:value="${alarm.results}" />
				   <input type="hidden" id="isBroadcastValue" th:value="${alarm.isBroadcast}" />
				   
				  
				  <div class="col-sm-6 ">
						<div class="form-group">
							<label class="col-sm-3 control-label">类型 <span
								style="color: red">*</span>
							</label>
							<div class="col-sm-9">
								<select class="form-control" id="type" disabled="true">
									<option value="0">自动触发</option>
									<option value="1">触发报警规则</option>
								</select>
							</div>
						</div>
						<div class="hr-line-dashed"></div>
					</div>
				  

					<div class="col-sm-6 ">
						<div class="form-group">
							<label class="col-sm-3 control-label">报警规则 <span
								style="color: red">*</span>
							</label>
							<div class="col-sm-9">
								<input class="form-control" id="ruleId" type="text" disabled="true"
									th:value="${alarm.ruleId}" />
							</div>
						</div>
						<div class="hr-line-dashed"></div>
					</div>
					
					
					<div class="col-sm-6 ">
						<div class="form-group">
							<label class="col-sm-3 control-label">报警类型 <span
								style="color: red">*</span>
							</label>
							<div class="col-sm-9">
								<input class="form-control" id="alarmType" type="text" disabled="true"
									th:value="${alarm.alarmType}" />
							</div>
						</div>
						<div class="hr-line-dashed"></div>
					</div>
					
					<div class="col-sm-6 ">
						<div class="form-group">
							<label class="col-sm-3 control-label">报警内容说明 <span
								style="color: red">*</span>
							</label>
							<div class="col-sm-9">
								<input class="form-control" id="alarmExplain" type="text" disabled="true"
									th:value="${alarm.alarmExplain}" />
							</div>
						</div>
						<div class="hr-line-dashed"></div>
					</div>
					
				
					
					
					<div class="col-sm-6 ">
						<div class="form-group">
							<label class="col-sm-3 control-label">处理结果 <span
								style="color: red">*</span>
							</label>
							<div class="col-sm-9">
								<select class="form-control" id="results" disabled="true">
									<option value="0">未处理</option>
									<option value="1">误报</option>
									<option value="2">已处理</option>
									<option value="3">转上级处理</option>
								</select>
							</div>
						</div>
						<div class="hr-line-dashed"></div>
					</div>
					<div class="col-sm-6 ">
						<div class="form-group">
							<label class="col-sm-3 control-label">图片 <span
								style="color: red">*</span>
							</label>
							<div class="col-sm-9">
								<input class="form-control" id="ruleId" type="text" disabled="true"
									th:value="${alarm.imgUrl}" />
							</div>
						</div>
						<div class="hr-line-dashed"></div>
					</div>
					
					<div class="col-sm-6 ">
						<div class="form-group">
							<label class="col-sm-3 control-label">处理人<span
								style="color: red">*</span>
							</label>
							<div class="col-sm-9">
								<input class="form-control" id="userId" type="text" disabled="true"
									th:value="${alarm.userId}" />
							</div>
						</div>
						<div class="hr-line-dashed"></div>
					</div>
						<div class="row">
					<div class="col-sm-6 ">
						<div class="form-group">
							<label class="col-sm-3 control-label">设备ID <span
								style="color: red">*</span>
							</label>
							<div class="col-sm-9">
								<input class="form-control" id="partId" type="text" disabled="true"
									th:value="${alarm.partId}" />
							</div>
						</div>
						<div class="hr-line-dashed"></div>
					</div>
					<div class="col-sm-6 ">
						<div class="form-group">
							<label class="col-sm-3 control-label">时间 <span
								style="color: red">*</span>
							</label>
							<div class="col-sm-9">
								<input class="form-control" id="createTime" type="text" disabled="true"
									th:value="${alarm.createTime}" />
							</div>
						</div>
						<div class="hr-line-dashed"></div>
					</div>
					
					
					
					<div class="col-sm-6 ">
						<div class="form-group">
							<label class="col-sm-3 control-label">是否播报 <span
								style="color: red">*</span>
							</label>
							<div class="col-sm-9">
								<select class="form-control" id="isBroadcast" disabled="true">
									<option value="0">否</option>
									<option value="1">是</option>
								</select>
							</div>
						</div>
						<div class="hr-line-dashed"></div>
					</div>
					
					
					<div class="col-sm-6 ">
						<div class="form-group">
							<label class="col-sm-3 control-label">处理意见 <span
								style="color: red">*</span>
							</label>
							<div class="col-sm-9">
								<input class="form-control" id="resultsContent" type="text"
									th:value="${alarm.resultsContent}" />
							</div>
						</div>
						<div class="hr-line-dashed"></div>
					</div>
					


					
				</div>
				<div class="row btn-group-m-t">
					<div class="col-sm-10">
						<button type="button" class="btn btn-info" id="ensure"
							onclick="AlarmInfoDlg.replySubmit()">
							<i class="fa fa-check"></i>&nbsp;提交
						</button>
						<button type="button" class="btn btn-danger" id="cancel"
							onclick="AlarmInfoDlg.close()">
							<i class="fa fa-eraser"></i>&nbsp;取消
						</button>
					</div>
				</div>

			</div>

		</div>
	</div>
	<script th:src="@{/static/modular/base/alarm/alarm_info.js}"></script>
</body>
</html>
